// src/router/index.js
import { createRouter, createWebHistory } from 'vue-router';

import Home2 from '@/modules/module5/module5-xin/components/Home.vue';
import PreludeView from '@/modules/module5/module5-xin/components/PreludeView.vue';
import FoundingProcessView from '@/modules/module5/module5-xin/components/FoundingProcessView.vue';
import SignificanceView from '@/modules/module5/module5-xin/components/SignificanceView.vue';
import highlight1 from '@/modules/module5/module5-xin/components/highlight1.vue'; // 详情页面组件  
import highlight2 from '@/modules/module5/module5-xin/components/highlight2.vue';  
import highlight3 from '@/modules/module5/module5-xin/components/highlight3.vue';  
const routes5 = [
  {
    path: '/',
    component: () => import('@/views/index.vue')
  },
  {
    path: '/home2',
    name: 'Home2',
    component: Home2
  },
  {
    path: '/prelude',
    name: 'Prelude',
    component: PreludeView
  },
  {
    path:'/founding',
    name:'Found',
    component:FoundingProcessView
  },
  {
    path: '/significance',
    name: 'Significance',
    component: SignificanceView // 添加新路由
  },
  {  
    path: '/highlight1',  
    name: 'highlight1',  
    component: highlight1  
  },  
  {  
    path: '/highlight2',  
    name: 'highlight2',  
    component: highlight2  
  },  
  {  
    path: '/highlight3',  
    name: 'highlight3',  
    component: highlight3  
  }, 
  // 其他路由...
];

const router = createRouter({
  history: createWebHistory(),
  routes: routes5
})

export{routes5}
